using System;
using System.Collections.Generic;

namespace ConsoleApplication2.Models
{
    public partial class COM_Contact
    {
        public COM_Contact()
        {
            this.COM_ContactAttribute = new List<COM_ContactAttribute>();
        }

        public int id { get; set; }
        public string First { get; set; }
        public string Middle { get; set; }
        public string Last { get; set; }
        public string Title { get; set; }
        public string RecordType { get; set; }
        public string RecordID { get; set; }
        public string JobTitle { get; set; }
        public string Notes { get; set; }
        public byte[] Photo { get; set; }
        public Nullable<int> Group { get; set; }
        public string Division { get; set; }
        public string Rating { get; set; }
        public string Interest { get; set; }
        public Nullable<decimal> AnnualRevenues { get; set; }
        public Nullable<int> NBEmployees { get; set; }
        public Nullable<int> Industry { get; set; }
        public Nullable<int> LeadSource { get; set; }
        public Nullable<System.DateTime> CreatedON { get; set; }
        public Nullable<int> Owner { get; set; }
        public string Status { get; set; }
        public string Mode { get; set; }
        public string Subject { get; set; }
        public string COM_CNT_Company { get; set; }
        public virtual COM_Group COM_Group { get; set; }
        public virtual Name Name { get; set; }
        public virtual SM_LEAD_SOURCE SM_LEAD_SOURCE { get; set; }
        public virtual ICollection<COM_ContactAttribute> COM_ContactAttribute { get; set; }
    }
}
